package com.huaxin.hxmodulestatisticalanalysis.dto.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class EnergyIncrementVO {
    /**
     * 电能增量数据传输对象
     */
    @Schema(description = "时间点")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime timePoint;        // 时间点
    @Schema(description = "增量电能")
    private BigDecimal incrementEnergy;     // 增量电能 (kWh)

    // Getter 和 Setter
}